from selenium import webdriver
from time import sleep
from selenium.webdriver.common.by import By
#打开谷歌
dr=webdriver.Chrome()
sleep(2)
#打开众乐邦网站
dr.get("http://pc.uat.zlbzb.cn/")
sleep(2)
#点击登录
dr.find_element(By.CLASS_NAME,"default-button").click()
sleep(2)
#选择密码登录
dr.find_element(By.ID,"tab-pas").click()
sleep(2)
#输入用户名和密码
dr.find_element(By.CLASS_NAME,'el-input__inner').send_keys("15523698804")
sleep(2)
dr.find_element(By.CLASS_NAME,'el-input__inner').send_keys("15523698804")
sleep(2)
#点击登录
dr.find_element(By.XPATH,'//*[@id="pane-code"]/div/button').click()
sleep(2)

dr.quit()


